/*
 * Copyright 2020-2030, MateCloud, DAOTIANDI Technology Inc All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * Author: pangu(7333791@qq.com)
 */
package com.wo.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wo.cloud.core.entity.TenantEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统通知表
 * @author liry
 * @version 1.0
 * @date Created on 2021/5/15 22:21
 * Description: 用户通知关联表
 */
@Data
@TableName("sys_notify")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "通知对象", description = "系统通知表")
public class SysNotify extends TenantEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "消息标题")
	private String title;

	/**
	* 通知内容
	*/
	@ApiModelProperty(value = "通知内容")
	private String content;

	/**
	 * 通知类型
	 */
	@ApiModelProperty(value = "通知类型，默认是系统通知，1系统公告， 2提醒，3消息")
	private int type;

	/**
	 * 接收方Id
	 */
	@ApiModelProperty(value = "接收方id, 用于一对一消息通知")
	private String senderId;
}
